<?php


namespace api\coupon;

use api\channel\coupon\YiQiDaHandler;

class YiQiDa
{
    public function queryAmount()
    {
        $handler = new YiQiDaHandler();
        $result = $handler->getMemberInfo();
        return yuan2fen($result['data']['balance']);
    }

}